package com.zyh.testhomework;

import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        System.out.println("请输入一个整数:");
        Scanner sc = new Scanner(System.in);
        int num = sc.nextInt();
        //如果输入的数在4到6之间
        if (num >= 4 && num <= 6) {
            System.out.println("true");
        } else {
            System.out.println("false");
        }
    }
}
